Method GenerateDrivenStreamsSelect(IReadOnlyList<FieldInfo>, string, string, string)
The bare SELECT of the streams source driven by the rows of an open CTE that exposes the object id as
_id: one row per row of it, for a caller that writes its own "( ... ) alias" around it. The driver may also
be a derived table over an outer row, inside an APPLY: a window reads the fields it only shows this way, per row
it keeps ((SELECT w._id AS _id)).
public string GenerateDrivenStreamsSelect(IReadOnlyList<FieldInfo> fields, string schemeIdParam, string drivingCte, string indent)